import static org.junit.Assert.*;

import org.junit.Test;

/**
 * JUnit TimeOut Test
 * 
 * @author Xi
 * 
 */
public class JunitTest4 {
	// the infinity() method will not return, so the JUnit engine will mark it
	// as failed and throw an exception
	@Test(timeout = 1000)
	public void infinity() {
		while (true);
	}

}
